
def Enum(**enums):
    return type('Enum', (), enums)

class BusinessException(Exception):
    def __init__(self, message, fieldName):
        self.Message = message
        self.FieldName = fieldName

class ParameterGroup(object):
	UserType,\
	ApplicationType,\
	DecisionType,\
	Rotation,\
	Genre = range(1,6,1)

class UserType(object):
	Member,\
	Staff,\
	DJ,\
	Director = range(1,5,1)
